//
//  UIView+BlurAddtion.m
//  Backhome
//
//  Created by kwep_vbn on 2017/6/22.
//  Copyright © 2017年 SmartHome. All rights reserved.
//

#import "UIView+KNBlurAddtion.h"

@implementation UIView (KNBlurAddtion)

- (UIVisualEffectView *)KNBlurWithType:(UIBlurEffectStyle)type {
    UIBlurEffect * blur = [UIBlurEffect effectWithStyle:type];
    UIVisualEffectView * effe = [[UIVisualEffectView alloc] initWithEffect:blur];
    return effe;
}

@end
